This resource endpoint deletes a given protected path using a name or id passed in the URL.
A successful call to the endpoint will return the HTTP code
204 No Content
. The server successfully processed the request
and is not returning any content.
Produces | |
---|---|
application/json | JSON Content |
application/xml | XML Content |
manage-admin
and security
rolehttp://marklogic.com/xdmp/privileges/manage
http://marklogic.com/xdmp/privileges/manage-admin
http://marklogic.com/xdmp/privileges/remove-path
This resource endpoint deletes a given protected path using a name or id passed in the URL.
> curl -X DELETE --anyauth -u admin:admin \ -H "Content-Type:application/xml" \ http://localhost:8002/manage/v2/protected-paths/11247920484610845208
This deletes the given entry. The call does not return any content, beyond headers.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.